package com.health.db.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class RegisterOrder implements Serializable{
	
    /**
	 * 
	 */
	private static final long serialVersionUID = -6021582012975305690L;

	private Long recid;

    private Integer systemid = 0;

    private Long registerid;

    private String registerNo;

    private Date registerDate;

    private Long userid;

    private String userName;

    private String userContact;

    private Long patientid;

    private String patientName;

    private String registerSubject;

    private String registerDesc;

    private Integer runFlag;

    private Integer runstatusid;

    private String runStatus;

    private Short runBreakCancelFlag;

    private Integer workflowid;

    private String workFlowStatus;

    private Integer entityid;

    private Integer departmentid;

    private String departmentName;

    private Date acceptTime;

    private Long accepterid;

    private String accepterName;

    private Date scheduleTime;

    private Integer scheduleDuration;

    private String registerguideid;

    private Integer registertypeid;

    private String registerTypeName;

    private BigDecimal ssPrice;

    private String ssMeasure;

    private Long goodsid;

    private BigDecimal goodsQuantity;

    private BigDecimal chargeQuantity;

    private BigDecimal registerTotal;

    private Short registerPayoffFlag;

    private BigDecimal registerPayoffTotal;

    private Integer orderfeetypeid;

    private String orderTypeDesc;

    private Integer userDeleteFlag;

    private Short evaluateFlag;

    private Short evaluateScore;

    private String evaluateDescribe;

    private Long refbillid;

    private Integer layoutid;

    private String comment;

    private Date createDate;

    private Long createUserid;

    private Date updateDate;

    private Long updateUserid;

    private Short registerPayFlag;

    private String registerData;
    
    
    private BigDecimal orderLeftTime;
    private BigDecimal orderBillTime;
    private String cardJournalAmount;
    private String cardItemID;
    private String cardID;
    
    //关联相关表
    private MedicalTreatRecordTemp patRecord;
    //关联相关表
    private UserLISTTemp user;
    //关联相关表
    private StuffListTemp doctor;
    //关联相关表
    private PatientListTemp  patient;
    //支付方式
    private Short payTypeId;

    //商品信息
    private String goodsIdno;
    private String goodsName;
    
    private Long patRecordId;
    
    private List<IMsgIMMessage> iMsgIMMessageList;
     

	public List<IMsgIMMessage> getiMsgIMMessageList() {
		return iMsgIMMessageList;
	}

	public void setiMsgIMMessageList(List<IMsgIMMessage> iMsgIMMessageList) {
		this.iMsgIMMessageList = iMsgIMMessageList;
	}

	/**
	 * @return the patRecordId
	 */
	public Long getPatRecordId() {
		return patRecordId;
	}

	/**
	 * @param patRecordId the patRecordId to set
	 */
	public void setPatRecordId(Long patRecordId) {
		this.patRecordId = patRecordId;
	}

	/**
	 * @return the goodsIdno
	 */
	public String getGoodsIdno() {
		return goodsIdno;
	}

	/**
	 * @param goodsIdno the goodsIdno to set
	 */
	public void setGoodsIdno(String goodsIdno) {
		this.goodsIdno = goodsIdno;
	}

	/**
	 * @return the goodsName
	 */
	public String getGoodsName() {
		return goodsName;
	}

	/**
	 * @param goodsName the goodsName to set
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	/**
	 * @return the payTypeId
	 */
	public Short getPayTypeId() {
		return payTypeId;
	}

	/**
	 * @param payTypeId the payTypeId to set
	 */
	public void setPayTypeId(Short payTypeId) {
		this.payTypeId = payTypeId;
	}

	/**
	 * @return the orderLeftTime
	 */
	public BigDecimal getOrderLeftTime() {
		return orderLeftTime;
	}

	/**
	 * @param orderLeftTime the orderLeftTime to set
	 */
	public void setOrderLeftTime(BigDecimal orderLeftTime) {
		this.orderLeftTime = orderLeftTime;
	}

	/**
	 * @return the orderBillTime
	 */
	public BigDecimal getOrderBillTime() {
		return orderBillTime;
	}

	/**
	 * @param orderBillTime the orderBillTime to set
	 */
	public void setOrderBillTime(BigDecimal orderBillTime) {
		this.orderBillTime = orderBillTime;
	}

	public Long getRecid() {
        return recid;
    }

    public void setRecid(Long recid) {
        this.recid = recid;
    }

    public Integer getSystemid() {
        return systemid;
    }

    public void setSystemid(Integer systemid) {
        this.systemid = systemid;
    }

    public Long getRegisterid() {
        return registerid;
    }

    public void setRegisterid(Long registerid) {
        this.registerid = registerid;
    }

    public String getRegisterNo() {
        return registerNo;
    }

    public void setRegisterNo(String registerNo) {
        this.registerNo = registerNo == null ? null : registerNo.trim();
    }

    public Date getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(Date registerDate) {
        this.registerDate = registerDate;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserContact() {
        return userContact;
    }

    public void setUserContact(String userContact) {
        this.userContact = userContact == null ? null : userContact.trim();
    }

    public Long getPatientid() {
        return patientid;
    }

    public void setPatientid(Long patientid) {
        this.patientid = patientid;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getRegisterSubject() {
        return registerSubject;
    }

    public void setRegisterSubject(String registerSubject) {
        this.registerSubject = registerSubject == null ? null : registerSubject.trim();
    }

    public String getRegisterDesc() {
        return registerDesc;
    }

    public void setRegisterDesc(String registerDesc) {
        this.registerDesc = registerDesc == null ? null : registerDesc.trim();
    }

    public Integer getRunFlag() {
        return runFlag;
    }

    public void setRunFlag(Integer runFlag) {
        this.runFlag = runFlag;
    }

    public Integer getRunstatusid() {
        return runstatusid;
    }

    public void setRunstatusid(Integer runstatusid) {
        this.runstatusid = runstatusid;
    }

    public String getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(String runStatus) {
        this.runStatus = runStatus == null ? null : runStatus.trim();
    }

    public Short getRunBreakCancelFlag() {
        return runBreakCancelFlag;
    }

    public void setRunBreakCancelFlag(Short runBreakCancelFlag) {
        this.runBreakCancelFlag = runBreakCancelFlag;
    }

    public Integer getWorkflowid() {
        return workflowid;
    }

    public void setWorkflowid(Integer workflowid) {
        this.workflowid = workflowid;
    }

    public String getWorkFlowStatus() {
        return workFlowStatus;
    }

    public void setWorkFlowStatus(String workFlowStatus) {
        this.workFlowStatus = workFlowStatus == null ? null : workFlowStatus.trim();
    }

    public Integer getEntityid() {
        return entityid;
    }

    public void setEntityid(Integer entityid) {
        this.entityid = entityid;
    }

    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName == null ? null : departmentName.trim();
    }

    public Date getAcceptTime() {
        return acceptTime;
    }

    public void setAcceptTime(Date acceptTime) {
        this.acceptTime = acceptTime;
    }

    public Long getAccepterid() {
        return accepterid;
    }

    public void setAccepterid(Long accepterid) {
        this.accepterid = accepterid;
    }

    public String getAccepterName() {
        return accepterName;
    }

    public void setAccepterName(String accepterName) {
        this.accepterName = accepterName == null ? null : accepterName.trim();
    }

    public Date getScheduleTime() {
        return scheduleTime;
    }

    public void setScheduleTime(Date scheduleTime) {
        this.scheduleTime = scheduleTime;
    }

    public Integer getScheduleDuration() {
        return scheduleDuration;
    }

    public void setScheduleDuration(Integer scheduleDuration) {
        this.scheduleDuration = scheduleDuration;
    }

    public String getRegisterguideid() {
        return registerguideid;
    }

    public void setRegisterguideid(String registerguideid) {
        this.registerguideid = registerguideid == null ? null : registerguideid.trim();
    }

    public Integer getRegistertypeid() {
        return registertypeid;
    }

    public void setRegistertypeid(Integer registertypeid) {
        this.registertypeid = registertypeid;
    }

    public String getRegisterTypeName() {
        return registerTypeName;
    }

    public void setRegisterTypeName(String registerTypeName) {
        this.registerTypeName = registerTypeName == null ? null : registerTypeName.trim();
    }

    public BigDecimal getSsPrice() {
        return ssPrice;
    }

    public void setSsPrice(BigDecimal ssPrice) {
        this.ssPrice = ssPrice;
    }

    public String getSsMeasure() {
        return ssMeasure;
    }

    public void setSsMeasure(String ssMeasure) {
        this.ssMeasure = ssMeasure == null ? null : ssMeasure.trim();
    }

    public Long getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Long goodsid) {
        this.goodsid = goodsid;
    }

    public BigDecimal getGoodsQuantity() {
        return goodsQuantity;
    }

    public void setGoodsQuantity(BigDecimal goodsQuantity) {
        this.goodsQuantity = goodsQuantity;
    }

    public BigDecimal getChargeQuantity() {
        return chargeQuantity;
    }

    public void setChargeQuantity(BigDecimal chargeQuantity) {
        this.chargeQuantity = chargeQuantity;
    }

    public BigDecimal getRegisterTotal() {
        return registerTotal;
    }

    public void setRegisterTotal(BigDecimal registerTotal) {
        this.registerTotal = registerTotal;
    }

    public Short getRegisterPayoffFlag() {
        return registerPayoffFlag;
    }

    public void setRegisterPayoffFlag(Short registerPayoffFlag) {
        this.registerPayoffFlag = registerPayoffFlag;
    }

    public BigDecimal getRegisterPayoffTotal() {
        return registerPayoffTotal;
    }

    public void setRegisterPayoffTotal(BigDecimal registerPayoffTotal) {
        this.registerPayoffTotal = registerPayoffTotal;
    }

    public Integer getOrderfeetypeid() {
        return orderfeetypeid;
    }

    public void setOrderfeetypeid(Integer orderfeetypeid) {
        this.orderfeetypeid = orderfeetypeid;
    }

    public String getOrderTypeDesc() {
        return orderTypeDesc;
    }

    public void setOrderTypeDesc(String orderTypeDesc) {
        this.orderTypeDesc = orderTypeDesc == null ? null : orderTypeDesc.trim();
    }

    public Integer getUserDeleteFlag() {
        return userDeleteFlag;
    }

    public void setUserDeleteFlag(Integer userDeleteFlag) {
        this.userDeleteFlag = userDeleteFlag;
    }

    public Short getEvaluateFlag() {
        return evaluateFlag;
    }

    public void setEvaluateFlag(Short evaluateFlag) {
        this.evaluateFlag = evaluateFlag;
    }

    public Short getEvaluateScore() {
        return evaluateScore;
    }

    public void setEvaluateScore(Short evaluateScore) {
        this.evaluateScore = evaluateScore;
    }

    public String getEvaluateDescribe() {
        return evaluateDescribe;
    }

    public void setEvaluateDescribe(String evaluateDescribe) {
        this.evaluateDescribe = evaluateDescribe == null ? null : evaluateDescribe.trim();
    }

    public Long getRefbillid() {
        return refbillid;
    }

    public void setRefbillid(Long refbillid) {
        this.refbillid = refbillid;
    }

    public Integer getLayoutid() {
        return layoutid;
    }

    public void setLayoutid(Integer layoutid) {
        this.layoutid = layoutid;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }

    public Short getRegisterPayFlag() {
        return registerPayFlag;
    }

    public void setRegisterPayFlag(Short registerPayFlag) {
        this.registerPayFlag = registerPayFlag;
    }

    public String getRegisterData() {
        return registerData;
    }

    public void setRegisterData(String registerData) {
        this.registerData = registerData == null ? null : registerData.trim();
    }

	public MedicalTreatRecordTemp getPatRecord() {
		return patRecord;
	}

	public void setPatRecord(MedicalTreatRecordTemp patRecord) {
		this.patRecord = patRecord;
	}

	public UserLISTTemp getUser() {
		return user;
	}

	public void setUser(UserLISTTemp user) {
		this.user = user;
	}

	public StuffListTemp getDoctor() {
		return doctor;
	}

	public void setDoctor(StuffListTemp doctor) {
		this.doctor = doctor;
	}

	public PatientListTemp getPatient() {
		return patient;
	}

	public void setPatient(PatientListTemp patient) {
		this.patient = patient;
	}

	
	/**
	 * @return the cardJournalAmount
	 */
	public String getCardJournalAmount() {
		return cardJournalAmount;
	}

	/**
	 * @param cardJournalAmount the cardJournalAmount to set
	 */
	public void setCardJournalAmount(String cardJournalAmount) {
		this.cardJournalAmount = cardJournalAmount;
	}

	/**
	 * @return the cardItemID
	 */
	public String getCardItemID() {
		return cardItemID;
	}

	/**
	 * @param cardItemID the cardItemID to set
	 */
	public void setCardItemID(String cardItemID) {
		this.cardItemID = cardItemID;
	}

	/**
	 * @return the cardID
	 */
	public String getCardID() {
		return cardID;
	}

	/**
	 * @param cardID the cardID to set
	 */
	public void setCardID(String cardID) {
		this.cardID = cardID;
	}

	@Override
	public String toString() {
		return "RegisterOrder [recid=" + recid + ", systemid=" + systemid
				+ ", registerid=" + registerid + ", registerNo=" + registerNo
				+ ", registerDate=" + registerDate + ", userid=" + userid
				+ ", userName=" + userName + ", userContact=" + userContact
				+ ", patientid=" + patientid + ", patientName=" + patientName
				+ ", registerSubject=" + registerSubject + ", registerDesc="
				+ registerDesc + ", runFlag=" + runFlag + ", runstatusid="
				+ runstatusid + ", runStatus=" + runStatus
				+ ", runBreakCancelFlag=" + runBreakCancelFlag
				+ ", workflowid=" + workflowid + ", workFlowStatus="
				+ workFlowStatus + ", entityid=" + entityid + ", departmentid="
				+ departmentid + ", departmentName=" + departmentName
				+ ", acceptTime=" + acceptTime + ", accepterid=" + accepterid
				+ ", accepterName=" + accepterName + ", scheduleTime="
				+ scheduleTime + ", scheduleDuration=" + scheduleDuration
				+ ", registerguideid=" + registerguideid + ", registertypeid="
				+ registertypeid + ", registerTypeName=" + registerTypeName
				+ ", ssPrice=" + ssPrice + ", ssMeasure=" + ssMeasure
				+ ", goodsid=" + goodsid + ", goodsQuantity=" + goodsQuantity
				+ ", chargeQuantity=" + chargeQuantity + ", registerTotal="
				+ registerTotal + ", registerPayoffFlag=" + registerPayoffFlag
				+ ", registerPayoffTotal=" + registerPayoffTotal
				+ ", orderfeetypeid=" + orderfeetypeid + ", orderTypeDesc="
				+ orderTypeDesc + ", userDeleteFlag=" + userDeleteFlag
				+ ", evaluateFlag=" + evaluateFlag + ", evaluateScore="
				+ evaluateScore + ", evaluateDescribe=" + evaluateDescribe
				+ ", refbillid=" + refbillid + ", layoutid=" + layoutid
				+ ", comment=" + comment + ", createDate=" + createDate
				+ ", createUserid=" + createUserid + ", updateDate="
				+ updateDate + ", updateUserid=" + updateUserid
				+ ", registerPayFlag=" + registerPayFlag + ", registerData="
				+ registerData + ", orderLeftTime=" + orderLeftTime
				+ ", orderBillTime=" + orderBillTime + ", cardJournalAmount="
				+ cardJournalAmount + ", cardItemID=" + cardItemID
				+ ", cardID=" + cardID + "]";
	}
    
    
    
}